import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// -------------------完整导入------------------
import Vant from 'vant'
import 'vant/lib/index.css'

Vue.use(Vant)

// 按需导入
// import { Button, Icon, Swipe, SwipeItem } from 'vant'
// Vue.use(Swipe)
// Vue.use(SwipeItem)
// Vue.use(Button)
// Vue.use(Icon)

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
